package com.flyme.module.base.client.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.flyme.common.core.model.base.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * 会员类型
 *
 * @author zyf
 * @date 2019-1-15
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("sys_viptype")
public class SysVipType extends AbstractEntity<SysVipType> {
    private static final long serialVersionUID = 1L;
    /**
     * 会员名称
     */
    private String vipName;
    /**
     * 会员编码
     */
    private String vipCode;
    /**
     * vip持续时间（单位天）
     */
    private Integer vipTime;
    /**
     * vip价格
     */
    private BigDecimal vipPrice;
    /**
     * ios价格
     */
    private BigDecimal iosPrice;
    /**
     * vip图片
     */
    private String vipImg;
    /**
     * 企业vip人员数量
     */
    private Integer staffNum;

    @TableField(exist = false)
    private List<SysVipconfig> vipconfig;

    /**
     * 会员权益
     */
    @TableField(exist = false)
    private String vipConfigItems;



    /**
     * 价格配置
     */
    @TableField(exist = false)
    private String vipPriceItems;



}
